/*
 * =====================================================================================
 *
 *       Filename:  clictl.h
 *
 *    Description:  
 *
 *        Version:  1.0
 *        Created:  2016年05月19日 17时51分48秒
 *       Revision:  none
 *       Compiler:  gcc
 *
 *         Author:  jianxi sun (jianxi), ycsunjane@gmail.com
 *   Organization:  
 *
 * =====================================================================================
 */
#ifndef __DYNCTL_H__
#define __DYNCTL_H__
#define DYNCTL_TERMINATOR	"\r\n\r\n"

#define DYNCTL_UNDEF		0
#define DYNCTL_STATUS		1
#define DYNCTL_BIND		2	
#define DYNCTL_UNBIND		3	
#define DYNCTL_NEWCLI		4
#define DYNCTL_SHOWCLI		5
#define DYNCTL_ADDURL		6	
#define DYNCTL_DELURL		7
#define DYNCTL_SHOWURL		8
#define DYNCTL_DELCLI		9

typedef struct {
	char	*socket;
	char 	*server;
	char 	*port;
	int	command;
	char	*param;
} s_config;

#define MAX_BUF  2048

#endif /* __DYNCTL_H__ */
